﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>WordPaster For CKEditor3.x,ExtJS</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link type="text/css" rel="Stylesheet" href="WordPaster/w.css"/>
    <link type="text/css" rel="stylesheet" href="extjs/resources/css/ext-all.css"/>
    <script type="text/javascript" src="extjs/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="extjs/ext-all.js"></script>
    <script type="text/javascript" src="ckeditor/ckeditor.js" charset="utf-8"></script>
    <script type="text/javascript" src="WordPaster/jquery.min.js"></script>
    <script type="text/javascript" src="WordPaster/w.edge.js" charset="utf-8"></script>
    <script type="text/javascript" src="WordPaster/w.app.js" charset="utf-8"></script>
    <script type="text/javascript" src="WordPaster/w.file.js" charset="utf-8"></script>
    <script type="text/javascript" src="WordPaster/w.js" charset="utf-8"></script>
</head>
<body>
	<textarea id="editor1" name="editor1"></textarea>
	<script type="text/jscript" language="javascript">
		var win;
        WordPaster.getInstance({
            PostUrl: "http://localhost:4416/asp.net/upload.aspx"
        }).Load();//加载控件

		window.onload = function()
		{
            WordPaster.getInstance().SetEditor(CKEDITOR.instances.editor1);
		}

		//加载CKEditor编辑器
		CKEDITOR.replace('editor1');
	</script>
</body>
</html>
